import { request } from '../config/request.js';

// 接车问诊
export const vehicleInquiryData = (params) =>{
	return request({
		url:'/mp/e3sh/assistant/vehicleCheck/vehicleCheckService/vehicleInquiryData.do',
		method:'GET',
		query:params,
		OpenLoading:false
	})
}

// 预检列表
export const getPreCheckList = (params) =>{
	return request({
		url:'/mp/e3sh/assistant/vehicleCheck/vehicleCheckService/getPreCheckList.do',
		method:'GET',
		query:params,
		OpenLoading:false
	})
}

// 根据车牌获取用户信息
export const getCustinfoByLicense = (params) =>{
	return request({
		url:'/mp/e3sh/assistant/vehicleCheck/vehicleCheckService/getCustinfoByLicense.do',
		method:'GET',
		query:params
	})
}

// 根据车牌获取用户信息
export const getVehicleCheckIds = (params) =>{
	return request({
		url:'/mp/e3sh/assistant/vehicleCheck/vehicleCheckService/getVehicleCheckIds.do',
		method:'GET',
		query:params
	})
}


// 预检新增
export const savePreCheck = (params) =>{
	return request({
		url:'/mp/e3sh/assistant/vehicleCheck/vehicleCheckService/savePreCheck.do',
		method:'POST',
		query:params
	})
}


// 预检详情
export const queryPreCheckInfo = (params) =>{
	return request({
		url:'/mp/e3sh/assistant/vehicleCheck/vehicleCheckService/queryPreCheckInfo.do',
		method:'GET',
		query:params
	})
}

// 转工单
export const preInspectionToWorkshop = (params) =>{
	return request({
		url:'/mp/e3sh/assistant/vehicleCheck/vehicleCheckService/preInspectionToWorkshop.do',
		method:'POST',
		query:params
	})
}


